@taginput: ~"@{prefix}taginput";
@taginput-input: h-icon-close;
.@{taginput} {
  width: 250px;
  display: inline-block;
  &-input-border{
    .border-input();
  }
  display: flex;
  flex-wrap: wrap;
  input[type=text]&-input{
    .border-input-inside-input()
  }
  >span{
    .tag-span-func();
  }

  .@{prefix}form-item-valid-error &{
    border-color: @red-color;
    &.focusing{
      box-shadow: 0 0 0 2px fade(@red-color, 20%);
    }
  }
}